# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xcmsdb
pkgver=1.0.5
pkgrel=0
pkgdesc="Device Color Characterization utility for X Color Management System"
url="http://xorg.freedesktop.org/"
arch="all"
license="custom"
subpackages="$pkgname-doc"
makedepends="libx11-dev"
source="https://www.x.org/releases/individual/app/xcmsdb-$pkgver.tar.bz2"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--mandir=/usr/share/man
	make
}

package() {
	make DESTDIR="$pkgdir" install
}
sha512sums="e47bfce87d7531e7809c300e01120c3e8d6001130d9a6c9f6de5bc19651d8712d273a6f54452223bd8c4bff4612b5ecae8db45eddb022da945ed6e14c9c84ae4  xcmsdb-1.0.5.tar.bz2"
